package com.yhy.dubbo.api.mongo;


import com.yhy.domain.mongo.Comment;
import com.yhy.domain.vo.PageResult;

public interface CommentApi {
    Integer save(Comment comment);

    Integer delete(Comment comment);

    PageResult queryCommentList(Integer page, Integer pagesize, String publishId);

    PageResult findByUidAndType(Integer page, Integer pagesize, Long publishUserId, Integer commentType);

    PageResult queryVideoCommentList(Integer page, Integer pagesize, String videoId);
}